package com.meida.module.bus.client.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 对外验工月报四
 *
 * @author flyme
 * @date 2020-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_report_outfour")
@TableAlias("bro")
@ApiModel(value="BusReportOutfour对象", description="对外验工月报四")
public class BusReportOutfour extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "reportOutwardId", type = IdType.ID_WORKER)
    private Long reportOutwardId;

    @ApiModelProperty(value = "项目code")
    private String projectCode;

    @Excel(name = "备用111", fixedIndex = 0)
    @ApiModelProperty(value = "备用")
    private String otherField1;
    @Excel(name = "清单序号", fixedIndex = 1)
    @ApiModelProperty(value = "清单序号")
    private String item;
    @Excel(name = "项目名称", fixedIndex = 2)
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @Excel(name = "项目特征", fixedIndex = 3)
    @ApiModelProperty(value = "项目特征")
    private String projectDesc;
    @Excel(name = "计量单位", fixedIndex =4)
    @ApiModelProperty(value = "计量单位")
    private String measureUnit;
    @Excel(name = "合同数量", fixedIndex = 5)
    @ApiModelProperty(value = "合同数量")
    private BigDecimal contractQuantity;
    @Excel(name = "综合单价", fixedIndex = 6)
    @ApiModelProperty(value = "综合单价")
    private BigDecimal unitPrice;
    @Excel(name = "合同总价", fixedIndex = 7)
    @ApiModelProperty(value = "合同总价")
    private BigDecimal totalPrice;
    @Excel(name = "百分比", groupName = "本期申报量",needMerge=true, fixedIndex = 8)
    @ApiModelProperty(value = "百分比")
    private BigDecimal beforefinishPercent;
    @Excel(name = "数量", groupName = "本期申报量",needMerge=true, fixedIndex = 9)
    @ApiModelProperty(value = "数量")
    private Integer beforefinishCount;
    @Excel(name = "价格", groupName = "本期申报量",needMerge=true,fixedIndex = 10)
    @ApiModelProperty(value = "价格")
    private BigDecimal beforefinishPrice;
    @Excel(name = "百分比", groupName = "本期审核量",needMerge=true, fixedIndex = 11)
    @ApiModelProperty(value = "百分比")
    private BigDecimal currentAuitPercent;
    @Excel(name = "数量", groupName = "本期审核量",needMerge=true, fixedIndex = 12)
    @ApiModelProperty(value = "数量")
    private BigDecimal currentAuditCount;
    @Excel(name = "价格", groupName = "本期审核量",needMerge=true, fixedIndex = 13)
    @ApiModelProperty(value = "价格")
    private BigDecimal currentAuitPrice;
    @Excel(name = "百分比", groupName = "前期累计已完工",needMerge=true, fixedIndex = 14)
    @ApiModelProperty(value = "百分比")
    private BigDecimal declardPercent;
    @Excel(name = "数量", groupName = "前期累计已完工",needMerge=true, fixedIndex = 15)
    @ApiModelProperty(value = "数量")
    private BigDecimal declaredCount;
    @Excel(name = "价格", groupName = "前期累计已完工",needMerge=true, fixedIndex = 16)
    @ApiModelProperty(value = "价格")
    private BigDecimal declaredPrice;
    @Excel(name = "百分比", groupName = "截止目前累计完工进度",needMerge=true, fixedIndex = 17)
    @ApiModelProperty(value = "百分比")
    private BigDecimal newfinishPersent;
    @Excel(name = "数量", groupName = "截止目前累计完工进度",needMerge=true, fixedIndex = 18)
    @ApiModelProperty(value = "数量")
    private BigDecimal newfinishCount;
    @Excel(name = "价格", groupName = "截止目前累计完工进度",needMerge=true, fixedIndex = 19)
    @ApiModelProperty(value = "价格")
    private BigDecimal nefinishPrice;

    @ApiModelProperty(value = "填报人")
    private Long userId;

    @Excel(name = "备注", fixedIndex = 20)
    @ApiModelProperty(value = "备注")
    private String remark;
    @Excel(name = "年月", fixedIndex = 21)
    @ApiModelProperty(value = "年月")
    private String reportMonth;
    @Excel(name = "批号", fixedIndex = 22)
    @ApiModelProperty(value = "批号")
    private Integer batchNumber;

}
